﻿@model BcdVolumeDirectoryViewModel
@{
    Layout = null;
    ViewBag.Title = "案卷目录查看";
}
<div class="pageFormContent" layouth="58">
    <table width="98%" class="tab012">
        <tr>
            <td class="td2" colspan="4" style="background-color: #e3effc; color: #045795; font-weight: bold; border: 1px solid #bbd9f9">文件材料详情
            </td>
        </tr>
        <tr>
            <td class="td1">文件编号：
            </td>
            <td class="td2" colspan="3">@(Model.TheBcdVolumedirectoryInfo.Vd_Code)
            </td>
        </tr>
        <tr>
            <td class="td1">责任者：
            </td>
            <td class="td2" colspan="3">@(Model.TheBcdVolumedirectoryInfo.Vd_Duty)
            </td>
        </tr>
        <tr>
            <td class="td1" style="width: 26%">日期：
            </td>
            <td class="td2" style="width: 24%">@(Model.TheBcdVolumedirectoryInfo.Vd_Date == null ? "" : Convert.ToDateTime(Model.TheBcdVolumedirectoryInfo.Vd_Date).ToString("yyyy-MM-dd"))
            </td>
            <td class="td1" style="width: 26%">总页数：
            </td>
            <td class="td2" style="width: 24%">@(Model.TheBcdVolumedirectoryInfo.Vd_PageNumb)
            </td>
        </tr>
        <tr>
            <td class="td1">卷内序号：
            </td>
            <td class="td2">@(Model.TheBcdVolumedirectoryInfo.Vd_Order)
            </td>
            <td class="td1">卷内页数：
            </td>
            <td class="td2">@(Model.TheBcdVolumedirectoryInfo.Vd_Page)
            </td>
        </tr>
        <tr>
            <td class="td1">文件材料题名：
            </td>
            <td class="td2" colspan="3">@(Model.TheBcdVolumedirectoryInfo.Vd_Name)
            </td>
        </tr>
        <tr>
            <td class="td1">备注：
            </td>
            <td class="td2" colspan="3">@(Model.TheBcdVolumedirectoryInfo.Vd_Remark)
            </td>
        </tr>
        <tr>
            <td class="td1">附件：</td>
            <td id="td_ass" colspan="3" style="text-align: left">
                <button id="dialogBtn_view" type="button">附件(@(Model.TheBcdVolumedirectoryInfo.FileCount))</button>
            </td>
        </tr>
    </table>
</div>
<div class="formBar">
    <ul>
        <li>
            <button type="button" class="close btn btn-default btn-sm">关闭</button>
        </li>

    </ul>
</div>

<div id="dialog_file_view">
    <iframe id="myIframe_view" src="" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"
        style="height: 650px; width: 1150px;"></iframe>
</div>
<script>
    $("#dialog_file_view").dialog({
        title: "附件管理",
        autoOpen: false,
        modal: true,
        width: 1200,
        height: 710,
        open: function (ev, ui) {
            $('#myIframe_view').attr('src', 'CompletionMaterials/FileManager/Index?filePath='+encodeURI('@ViewBag.FilePath'));
        }
    });

        $('#dialogBtn_view').click(function () {
            $('#dialog_file_view').dialog('open');
        });
</script>
